package com.hdc.hdc.warehouseManage.repository;


import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.repository.query.Param;

import com.hdc.hdc.warehouseManage.entity.GoodsAndLocations;
import com.hdc.hdc.warehouseManage.repository.base.BaseJpaRespository;

public interface GoodsAndLocationRepository extends BaseJpaRespository<GoodsAndLocations, String> {

	@Modifying
	void deleteByGoodsId(@Param("goodsId")String goodsId);

}
